package org.dreamwork.websocket;

import java.io.IOException;

/**
 * Created by game on 2017/2/16
 */
public interface IWebSocketExecutor<T> extends Runnable {
    void send (T message);
    void close () throws IOException;
    boolean matches (T message);
    boolean matches (String id, T message);
}
